package com.sanqing.service;

import java.util.List;

import com.sanqing.po.Student;
import com.sanqing.util.Page;

public interface StudentService {
	//检查是否能够登录
	public boolean allowLogin(String studentID,String password);
	//获取学生信息
	public Student getStudentInfo(String studentID);
	//设置学生信息
	public void setStudentResult(String studentID,int result);
	//通过姓名获取学生信息
	public List<Student> getStudentByName(String studentName);
	//通过班级获取学生信息
	public List<Student> getStudentByClass(String sclass);
	//获取所有学生信息
	public List<Student> findAllStudents();
	public int findStudentCount();
	public List<Student> findStudentByPage(Page page);
	public List<Student> likeQueryStudentByName(String name,Page page);
}
